-- GENERATED SPELL FOR [Sentry-bot 57-K] --


function spell0_25753(pUnit, Event) --@Red Firework,Self--
pUnit:FullCastSpellOnTarget(6668,pUnit)
pUnit:RegisterEvent('Sorts_25753', 615, 1)
end

function Sorts_25753(pUnit, Event)
local choix_sorts_25753 = math.random(0, 0)
if choix_sorts_25753 == 0 then
pUnit:RegisterEvent('spell0_25753', 1, 1)
end
end

function mob25753_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25753', math.random(1500, 3000), 1)
end

function mob25753_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25753_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25753_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25753, 1, 'mob25753_Action')
RegisterUnitEvent(25753, 2, 'mob25753_Leave')
RegisterUnitEvent(25753, 3, 'mob25753_Kill')
RegisterUnitEvent(25753, 4, 'mob25753_Die')
